<tr>
  <td class="req_label">* Login:</td>
  <td class="data">
    <% if f && @user.new_record? %>
      <%= f.text_field :login %>
    <% else %>
      <%= h @user.login %>
    <% end %>
  </td>
</tr>
<% 
  if @user.reset_password %>
    <%= render(:partial => "/manage/users/change_password")%><%
  end
%>
<tr>
  <td class="req_label">* First Name:</td>
  <td class="data">
    <% if f %>
      <%= f.text_field :first_name %>
    <% else %>
      <%=  h(@user.first_name)%>
    <% end %>
  </td>
</tr>
<tr>
  <td class="label">Middle Name:</td>
  <td class="data">
    <% if f %>
      <%= f.text_field :middle_name %>
    <% else %>
      <%= h @user.middle_name %>
    <% end %>
  </td>
</tr>
<tr>
  <td class="req_label">* Last Name:</td>
  <td class="data">
    <% if f %>
      <%= f.text_field :last_name %>
    <% else %>
      <%= h @user.last_name %>
    <% end %>
  </td>
</tr>
